package com.yidu.logisticssystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工表(LogisticsStaff)实体类
 *
 * @author makejava
 * @since 2021-03-08 16:46:55
 */
public class LogisticsStaff implements Serializable {
    private static final long serialVersionUID = 189814292793435849L;
    /**
     * 员工id
     */
    private Integer staffId;
    /**
     * 员工编号
     */
    private String staffNum;
    /**
     * 员工部门
     */
    private Integer sectionId;
    /**
     * 员工账号
     */
    private String staffUsername;
    /**
     * 员工密码
     */
    private String staffPassword;
    /**
     * 职位id
     */
    private Integer postId;
    /**
     * 地区id
     */
    private String mapId;
    /**
     * 员工姓名
     */
    private String staffName;
    /**
     * 员工电话
     */
    private Double staffPhone;
    /**
     * 员工身份证
     */
    private String staffIdcard;
    /**
     * 入职时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date staffStartdate;
    /**
     * 离职时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date staffOutdate;
    /**
     * 员工住址
     */
    private String staffHome;
    /**
     * 员工性别
     */
    private Integer staffSex;
    /**
     * 员工头像
     */
    private String staffPhoto;
    /**
     * 路线id
     */
    private Integer pathId;
    /**
     * 备注
     */
    private String staffRemark;

    /**
     * 员工类型
     */
    private Integer staffType;

    private String sectionName;

    private String postName;

    private String mapName;

    /**
     * 获得自动增长Id
     */
    private Integer ziId;



    public String getSectionName() {
        return sectionName;
    }

    public void setSectionName(String sectionName) {
        this.sectionName = sectionName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getMapName() {
        return mapName;
    }

    public void setMapName(String mapName) {
        this.mapName = mapName;
    }

    public Integer getStaffType() {
        return staffType;
    }

    public void setStaffType(Integer staffType) {
        this.staffType = staffType;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMapId() {
        return mapId;
    }

    public void setMapId(String mapId) {
        this.mapId = mapId;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public String getStaffNum() {
        return staffNum;
    }

    public void setStaffNum(String staffNum) {
        this.staffNum = staffNum;
    }

    public Integer getSectionId() {
        return sectionId;
    }

    public void setSectionId(Integer sectionId) {
        this.sectionId = sectionId;
    }

    public String getStaffUsername() {
        return staffUsername;
    }

    public void setStaffUsername(String staffUsername) {
        this.staffUsername = staffUsername;
    }

    public String getStaffPassword() {
        return staffPassword;
    }

    public void setStaffPassword(String staffPassword) {
        this.staffPassword = staffPassword;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }



    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public Double getStaffPhone() {
        return staffPhone;
    }

    public void setStaffPhone(Double staffPhone) {
        this.staffPhone = staffPhone;
    }

    public String getStaffIdcard() {
        return staffIdcard;
    }

    public void setStaffIdcard(String staffIdcard) {
        this.staffIdcard = staffIdcard;
    }


    public Date getStaffStartdate() {
        return staffStartdate;
    }

    public void setStaffStartdate(Date staffStartdate) {
        this.staffStartdate = staffStartdate;
    }

    public Date getStaffOutdate() {
        return staffOutdate;
    }

    public void setStaffOutdate(Date staffOutdate) {
        this.staffOutdate = staffOutdate;
    }

    public String getStaffHome() {
        return staffHome;
    }

    public void setStaffHome(String staffHome) {
        this.staffHome = staffHome;
    }

    public Integer getStaffSex() {
        return staffSex;
    }

    public void setStaffSex(Integer staffSex) {
        this.staffSex = staffSex;
    }

    public String getStaffPhoto() {
        return staffPhoto;
    }

    public void setStaffPhoto(String staffPhoto) {
        this.staffPhoto = staffPhoto;
    }

    public Integer getPathId() {
        return pathId;
    }

    public void setPathId(Integer pathId) {
        this.pathId = pathId;
    }

    public String getStaffRemark() {
        return staffRemark;
    }

    public void setStaffRemark(String staffRemark) {
        this.staffRemark = staffRemark;
    }

    public Integer getZiId() {
        return ziId;
    }

    public void setZiId(Integer ziId) {
        this.ziId = ziId;
    }
}
